package com.zq.jichu;

public class ThreadTest {
    public static void main(String[] args) {
        new Thread(){
            @Override
            public void run() {
                for (int i=0;i<5;i++){
                    System.out.println(Thread.currentThread().getName());
                }
            }
        }.start();

        for (int i=0;i<5;i++){
            System.out.println(Thread.currentThread().getName());
        }

    }
}
